<include file="__THEME__/header" />
<script type="text/javascript" src="../Public/Js/ask.js"></script>
<link rel="stylesheet" href="../Public/Style/ask.css" type="text/css" media="screen" charset="utf-8" />
<div class="askMain">
   <include file="Public:header" />
   <div class="index">
   	<include file="Public:menu" />
        
        <div class="c666">搜索<strong class="red">{$data['key']}</strong></div>
    	<div class="list">
         <volist name="data['list']['item']" id="val" empty="暂无提问">
         <li><h2><a href="{:U('ask/Index/show',array('id'=>$val['ask_id']))}" target="_blank">{$val['ask_title']|keyColor=$data['key']}</a></h2>
          <p> <if condition="$val['thumbName']"><a href="{:U('ask/Index/show',array('id'=>$val['ask_id']))}" target="_blank">{$val['thumb']}</if>{$val['ask_context']|text|msubstr=0,110|keyColor=$data['key']}</p>
          <p class="c666 clear"><a href="{:U('home/Space/index',array(uid=>$val['user_id']))}">{$val['user_name']}</a> - {:date('Y-m-d H:i:s',$val['ask_addtime'])} - 回答:{$val['ask_num']} - 浏览:{$val['view_num']}</p>
         </li>
        </volist>
       <div class="page">{$data['list']['pageShow']}</div>
        
        </div><!-- end list -->
    </div><!-- end mainM -->
    <div class="indexR">
	<p><strong>推荐问题</strong></p>
	<volist name="data['hotAsk']['item']" id="val" empty="暂无推荐">   
      <li><a href="{:U('ask/Index/show',array('id'=>$val['ask_id']))}" target="_blank" title="{$val.ask_title}">{$val.ask_title|msubstr=0,15}</a><p class="ccc">{$val.user_name} - {:date('Y-m-d',$val['ask_addtime'])}</p></li>
	</volist>
    </div><!--end mainR -->
   </div><!-- end main -->
</div><!-- end askMain -->
			<include file="Public:footer" />
<include file="__THEME__/footer" />
